<?php
class menu{
	
	function menu(&$db, &$smarty)
	{
        $this->db =& $db;
		$this->smarty =& $smarty;
		include_once("sql/menu/bdmenu.php");
		$this->sql =& new bdmenu($db);
	}
	
	function criarMenu($usuario){		
		$menu	= $this->sql->menuPai($usuario);
		return $menu;
		
	}
}
?>